//
//  FastKeyTool.h
//  ADToolsPro
//
//  Created by YCJ on 2020/7/23.
//  Copyright © 2020 YCJ. All rights reserved.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

@interface FastKeyTool : NSObject

///保存在NSUserDefaults
+ (void)saveObject:(id)obj forKey:(NSString *)key;

+ (id)objectForKey:(NSString *)key;

+ (void)removeObjectForKey:(NSString *)key;

+ (void)removeAllObjects;

///保存在keychain
+ (void)saveData:(id)data forService:(NSString *)service;
+ (id)dataForService:(NSString *)service;
+ (void)deleteDataForService:(NSString *)service;

@end

NS_ASSUME_NONNULL_END
